package com.industrial.app.domain;

import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 分市工业增加值对象 biz_industrial_value_added_by_city
 *
 * @author SangGuangCan
 * @date 2023-12-27
 */
public class BizIndustrialValueAddedByCity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    /** 区域 */
    @Excel(name = "指标")
    private String region;

    /** 本月比同月增长(%) */
    @Excel(name = "本月")
    private String monthlyGrowthRate;

    /** 本月止累计比同期增长(%) */
    @Excel(name = "累计")
    private String cumulativeGrowthRate;

    /** 创建时间 */
    private Date baseCrateTime;

    @JsonFormat(pattern = "yyyy.MM")
    private Date yearMonth;

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getRegion()
    {
        return region;
    }
    public void setMonthlyGrowthRate(String monthlyGrowthRate)
    {
        this.monthlyGrowthRate = monthlyGrowthRate;
    }

    public String getMonthlyGrowthRate()
    {
        return monthlyGrowthRate;
    }
    public void setCumulativeGrowthRate(String cumulativeGrowthRate)
    {
        this.cumulativeGrowthRate = cumulativeGrowthRate;
    }

    public String getCumulativeGrowthRate()
    {
        return cumulativeGrowthRate;
    }
    public void setBaseCrateTime(Date baseCrateTime)
    {
        this.baseCrateTime = baseCrateTime;
    }

    public Date getBaseCrateTime()
    {
        return baseCrateTime;
    }

    public Date getYearMonth() {
        return yearMonth;
    }

    public void setYearMonth(Date yearMonth) {
        this.yearMonth = yearMonth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("region", getRegion())
                .append("monthlyGrowthRate", getMonthlyGrowthRate())
                .append("cumulativeGrowthRate", getCumulativeGrowthRate())
                .append("remark", getRemark())
                .append("baseCrateTime", getBaseCrateTime())
                .toString();
    }

}
